﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyVatLieuXayDung
{
    public partial class TrangChu : UserControl
    {
        public TrangChu()
        {
            InitializeComponent();
        }
        private void button1_MouseLeave(object sender, EventArgs e)
        {
            button1.Image = Properties.Resources.Apps_kchart_icon96;
        }

        private void button2_MouseLeave(object sender, EventArgs e)
        {
            button2.Image = Properties.Resources.Document_Add_icon96;
        }

        private void button2_MouseHover(object sender, EventArgs e)
        {
            button2.Image = Properties.Resources.Document_Add_icon;
        }

        private void button3_MouseHover(object sender, EventArgs e)
        {
            button3.Image = Properties.Resources.sales_report_icon;
        }

        private void button3_MouseLeave(object sender, EventArgs e)
        {
            button3.Image = Properties.Resources.sales_report_icon96;
        }

        private void button4_MouseLeave(object sender, EventArgs e)
        {
            button4.Image = Properties.Resources.Architecture_info_icon96;
        }

        private void button4_MouseHover(object sender, EventArgs e)
        {
            button4.Image = Properties.Resources.Architecture_info_icon;
        }

        private void button1_MouseHover(object sender, EventArgs e)
        {
            button1.Image = Properties.Resources.Apps_kchart_icon;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            FormLapPhieuNhap frm = new FormLapPhieuNhap();
            frm.ShowDialog();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            Lập_Hóa_Đơn frm = new Lập_Hóa_Đơn();
            frm.ShowDialog();
        }
    }
}
